<div id="uploadListSmall" >
    <div class="my_upload  container-fluid  " >
        {foreach $images as $key=>$image /}
            <div class="row" style="margin: 10px">
                <ul class="upload_list_small_ul">
                    <li>
                       <h4>{$key+1}:</h4>
                    </li>
                    <li>
                        <a href="/user/details/{$image['image_md5']}">
                            <img class="lazy img-responsive" data-original="{$image['image_url']}" width="50px" height="30px" alt="">
                        </a>
                    </li>
                    <li>
                        点赞数:{if $image['image_like']==null}0
                        {else /}{$image['image_like']}
                        {/if}
                    </li>
                    <li>
                        <select id="imageClassName" name="image_class" >
                            {foreach $classes as $class}
                            {if $class['class_name'] == $image['image_class']}
                            <option selected><a href="">{$class['class_name']}</a></option>
                            {else /}
                            <option>{$class['class_name']}</option>
                            {/if}
                            {/foreach}
                        </select>
                        <button type="submit" id="changeClass" class="btn btn-default">更改</button>
                    </li>
                    <li>
                        上传时间:{$image["image_onload_stamp"]|date='Y-m-d H:i'}
                    </li>
                    <li >
                        {eq name="image['image_show']"  value="true"}
                        <a href="/user/hiddenImage/{$image['image_md5']}">
                            <img id="controlHidden" src="/static/image/show_on.png" width="25px"; alt="">
                        </a>不想展示
                        {else}
                        <a href="/user/showImage/{$image['image_md5']}">
                            <img id="controlShow" src="/static/image/show_.png" width="25px"; alt="">
                        </a>展示到首页
                        {/eq}
                    </li>
                    <li>下载数量:{$image["image_download_count"]}</li>
                    <li>详细</li>
                    <li>
                        <a  href="/user/delete/{$image['image_md5']}">删除
                            <img id="DelImage" src="/static/image/delete.png" width="25px" alt="">
                        </a>
                    </li>
                </ul>
            </div>
        <hr>
        {/foreach}
    </div>
    <hr>
    <h1>点击删除{$deleted|count}张 <button class="btn btn-danger clearThis">清空回收站</button></h1>
    <div class="my_upload  container-fluid" >
        {foreach $deleted as $key=>$image /}
        <div class="flow row" style="opacity: 0.3">
            <!--                    第{$key+1}张-->
            <ul class="upload_list_small_ul">
            <li>
                <a>
                    <img class="lazy img-responsive" data-original="{$image['image_url']}" width="50px" alt="">
                </a>
            </li>
            <li>点赞数:{if $image['image_like']==null}0
                {else /}{$image['image_like']}
                {/if}</li>
            <li>属于:{$image["image_class"]}</li>
            <li>上传时间:{$image["image_onload_stamp"]|date='Y-m-d H:i'}  </li>
            <li>删除时间:{$image["image_delete_time"]|date='Y-m-d H:i'} </li>
            <li>
                <a href="/user/recover/{$image['image_md5']}">撤回删除
                    <img src="/static/image/recover.png" width="25px" alt="">
                </a>
            </li>
            </ul>
        </div>
        <hr>
        {/foreach}
    </div>
</div>